package com.zijidelu.luframework.plugins.tomlock.core.handler;

import com.zijidelu.luframework.plugins.tomlock.core.data.TomLockMethodData;

import java.util.function.Supplier;

/**
 * 计算方法模式。
 *
 * @author ZIJIDELU
 * @datetime 2025/4/9 23:11
 */
public interface CalcMethodLockHandler {
    <T> T run(TomLockMethodData tomLockData, Supplier<T> supplier);
}
